package com.de.demo.client.service;


import com.de.demo.client.api.UserApi;
import com.de.demo.client.mapper.UserMapper;
import com.de.demo.client.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService implements UserApi {

    @Autowired
    private UserMapper userMapper;

    /**
     * 查询所有用户信息
     * @return List<User>
     */
    public List<User> qryUserList(){
        return userMapper.selectList();
    }



}
